package com.share.finance.risk.rules.constants;

import com.share.common.constant.DirConstant;
import io.swagger.annotations.ApiModelProperty;

import java.io.File;

/**
 *
 */
public interface SysConstant {
    @ApiModelProperty("数据产品目录文件名切割符号")
    String PROJECT_SPLIT = "#";

    @ApiModelProperty("路径//分隔符")
    String PATH_SPLIT = File.separator;

    @ApiModelProperty("换行符")
    String LINE_SPLIT = System.lineSeparator();

    @ApiModelProperty("分号;")
    String SEMICOLON = File.pathSeparator;

    @ApiModelProperty("数据产品备份目录前缀")
    String BAK_PROJECT_PREFIX = "_bak";

    @ApiModelProperty("drl文件后缀")
    String DRL_FILE_SUFFIX = ".drl";

    @ApiModelProperty("drl文件的package名---rule是关键字所以加了一个s")
    String DRL_FILE_PACKAGE_PREFIX = "com.share.finance.risk.rules.";

    @ApiModelProperty("执行端drl文件存放路径")
    String EXECUTE_DRL_HOME = DirConstant.USER_HOME + PATH_SPLIT + "drls";
}
